<?php
/**
 * ExtScriptManager class file
 *
 * @author TrueSoftware B.V. (The Netherlands)
 * @link http://www.ext4yii.com
 * @copyright Copyright 2007-2010 TrueSoftware B.V. all rights reserved.
 * @license http://www.ext4yii.com/license/
 *          EVALUATION VERSION - NOT FOR COMMERCIAL USE OR DISTRIBUTION.
 * @version 0.7.2
 */

class ExtScriptManager extends ExtScriptManagerBase
{
    /**
     * Gets the value of ExtJS loaderImage property
     * @return String 
     */
    public function getLoaderImage()
    {
    	return $this->getConfig("loaderimage");
    }

    /**
     * Sets the value of ExtJS loaderImage property
     * @param String $value 
     */
    public function setLoaderImage($value)
    {
    	$this->setConfig("loaderimage",$value);
    }

    /**
     * Gets the value of ExtJS loaderText property
     * @return String 
     */
    public function getLoaderText()
    {
    	return $this->getConfig("loadertext");
    }

    /**
     * Sets the value of ExtJS loaderText property
     * @param String $value 
     */
    public function setLoaderText($value)
    {
    	$this->setConfig("loadertext",$value);
    }

    /**
     * Gets the value of ExtJS beforeInitScript property
     * @return String 
     */
    public function getBeforeInitScript()
    {
    	return $this->getConfig("beforeinitscript");
    }

    /**
     * Sets the value of ExtJS beforeInitScript property
     * @param String $value 
     */
    public function setBeforeInitScript($value)
    {
    	$this->setConfig("beforeinitscript",$value);
    }

    /**
     * Gets the value of ExtJS afterInitScript property
     * @return String 
     */
    public function getAfterInitScript()
    {
    	return $this->getConfig("afterinitscript");
    }

    /**
     * Sets the value of ExtJS afterInitScript property
     * @param String $value 
     */
    public function setAfterInitScript($value)
    {
    	$this->setConfig("afterinitscript",$value);
    }

    /**
     * Gets the value of ExtJS showLoader property
     * @return Boolean 
     */
    public function getShowLoader()
    {
    	return $this->getConfig("showloader");
    }

    /**
     * Sets the value of ExtJS showLoader property
     * @param Boolean $value 
     */
    public function setShowLoader($value)
    {
    	$this->setConfig("showloader",$value);
    }

    /**
     * Gets the value of ExtJS theme property
     * @return String 
     */
    public function getTheme()
    {
    	return $this->getConfig("theme");
    }

    /**
     * Sets the value of ExtJS theme property
     * @param String $value 
     */
    public function setTheme($value)
    {
    	$this->setConfig("theme",$value);
    }

    
    public function __construct()
    {
        parent::__construct();
        $this->configmap = array_merge($this->configmap,array(
            'loaderimage' => 'loaderImage',
            'loadertext' => 'loaderText',
            'beforeinitscript' => 'beforeInitScript',
            'afterinitscript' => 'afterInitScript',
            'showloader' => 'showLoader'
        ));



        $this->proptags = array_merge($this->proptags,array(
            'resources' => true
        ));
        $this->setXType(null);
        $this->setXClass('Ext.ux.ScriptManager');
    }    
}
?>